import Vue from "vue";
//引入vue-router
import VueRouter from "vue-router";
import routes from "./one";



//引入一级路由组件
// const ShouYe = ()=>("../views/ShouYe.vue");


//声明使用Vuerouter
Vue.use(VueRouter);

let router = new VueRouter({
    mode:"hash",
    routes
})

export default router;